package com.tianqu.tms.dao;

import java.util.List;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.PicChangeHistoryDto;
import com.tianqu.tms.dto.TransferProcessHistoryDto;

public interface TransferProcessHistoryDao {

	/**
	 * 插入
	 * @param dto
	 * @throws TmsDaoException
	 */
	public void insertHisInfoAtAssess(TransferProcessHistoryDto dto)throws TmsDaoException;
	
	/**
	 * 根据serial载入历史记录
	 * @param serial
	 * @return
	 * @throws TmsDaoException
	 */
	public List<TransferProcessHistoryDto> loadTransferProcessHistoryBySerial(String serial)throws TmsDaoException;
	
	public void deleteHisInfoBySerial(String serial)throws TmsDaoException;
	
	public TransferProcessHistoryDto findCheckFile(String serial,int businessType)throws TmsDaoException;
	
	public void insertPicChangeHistory(PicChangeHistoryDto dto)throws TmsDaoException;
	
	public void insertHisInfoBySerial(TransferProcessHistoryDto dto) throws TmsDaoException;
	
	/**
	 * 根据serial载入历史记录
	 * @param serial
	 * @return
	 * @throws TmsDaoException
	 */
	public List<TransferProcessHistoryDto> loadTransferProcessHistoryBySerialInsertTime(String serial,String insertTime)throws TmsDaoException;
}

